package com.example.studyroom.service;

import com.example.studyroom.Entity.User;
import com.example.studyroom.dto.User.UserInfoDTO;

import java.util.List;

public interface UserService {
    User findByUserLogin(String uname, String upass);

    boolean usernameExists(String username);

    void registerUser(User user);

    List<User> getAllUsers();

    void deleteUser(Integer uid);

    void modifyPass(User user);

    //个人信息
    List<UserInfoDTO> getUserInfo(String Uname);

    void modifyUserInfo(User user);

    User findById(Long userId);
}
